/**
 * 
 */
package com.leruan.aasimp.service;

import java.util.List;
import java.util.Map;

import com.leruan.aasimp.entity.CarType;

/**
 * @author snow
 *
 */
public interface CarTypeService {
	List<CarType> findall();

	void addType(CarType carType);

	CarType findById(long l);

	void update(CarType carType);

	void delete(CarType carType);

	Long getTotal(Map<String, String> map);

	List<CarType> getByList(Map<String, String> map, int pageNo);

	CarType findByUserId(long parseLong);

	List<CarType> findByCom(long parseLong);

}
